
<%@ page import="com.edusite.Correos" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="mainAlumno" />
        <g:set var="entityName" value="${message(code: 'correos.label', default: 'Correos')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/home/indice')}">Home</a></span>
            <span class="menuButton"><g:link class="list" action="listAlumno"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="createAlumno"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="correos.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: correosInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="correos.enviadopor.label" default="Enviadopor" /></td>
                            
                            <td valign="top" class="value"><g:link controller="personas" action="show" id="${correosInstance?.enviadopor?.id}">${correosInstance?.enviadopor?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="correos.asunto.label" default="Asunto" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: correosInstance, field: "asunto")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="correos.texto.label" default="Texto" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: correosInstance, field: "texto").decodeHTML()}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="correos.destinatario.label" default="Destinatario" /></td>
                            
                            <td valign="top" class="value"><g:link controller="personas" action="show" id="${correosInstance?.destinatario?.id}">${correosInstance?.destinatario?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="correos.estado.label" default="Estado" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: correosInstance, field: "estado")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="correos.fechaenv.label" default="Fechaenv" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${correosInstance?.fechaenv}" /></td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>

        </div>
    </body>
</html>
